<?php

/**
 * PluginEndereco form.
 *
 * @package    form
 * @subpackage Endereco
 * @version    SVN: $Id: sfDoctrineFormTemplate.php 6174 2007-11-27 06:22:40Z fabien $
 */
abstract class PluginEnderecoForm extends BaseEnderecoForm
{
	public function configure()
	{
		parent::configure();

		$this->widgetSchema->setLabels(array(
            'nu_cep'           			=> 'CEP',
			'logradouro_numero'			=> 'Número',
			'logradouro_complemento'	=> 'Complemento',
			'sg_uf'						=> 'Estado'
		));

		$this->validatorSchema->setOption('allow_extra_fields', true);
	}
}